import type { ColumnType } from 'ant-design-vue/lib/table'

export const tableColumns: ColumnType[] = [
  { title: '任务名称', dataIndex: 'name', align: 'center' },
  { title: '执行位置', dataIndex: 'address', align: 'center', ellipsis: true },
  { title: '任务标签', dataIndex: 'tagCodeList', align: 'center', ellipsis: true },
  { title: '任务状态', dataIndex: 'status', align: 'center' },
  { title: '截止时间', dataIndex: 'deadline', align: 'center' },
  { title: '描述', dataIndex: 'specificTask', align: 'center' },
  { title: '操作', key: 'action', align: 'center', width: '150px' }
]

export const takeFinishStatus = [
  { value: 1, label: '未完成' },
  { value: 2, label: '未开始' },
  { value: 3, label: '已完成' }
]

export const addressTypeObj = [
  { value: 1, label: '仓库' },
  { value: 2, label: '门店' }
]
